Xbasic

QRCode::Creator::GenerateBmpFile Method

Syntax

PUBLIC STATIC GenerateBmpFile AS L (text AS C, filename AS C, correctionLevel AS C)

Arguments

text AS C

QRCode input

filename AS C

The generated .BMP filename.

correctionLevel AS C

Correction level can be L,M,Q or H (L=7%, M=15%, Q=25%, H=30%). See QRCode Namespace for more information.

Description

Return a blob containing the contents of a windows .BMP formatted QRCode image.

Example

? ::QRCode::Creator::GenerateBmpFile("Hello world","c:\helloWorld.bmp","M")
= .T.

See Also